//@author A0096759E

package googlecal;

public class GoogleAccessToken {
	private static final String STRING_SEPARATOR = " - ";
	private String access_token;
    private String refresh_token;

    // Getters and setters are not required for this example.
    // GSON sets the fields directly using reflection.

    @Override
    public String toString() {
        return access_token + STRING_SEPARATOR + refresh_token;
    }
    
    /**
     * Returns the access_token field as a String.
     * @return access_token - a Google OAuth2 Token 
     */
    public String getAccessToken() {
    	return access_token;
    }
    
    /**
     * Returns the refresh_token field as a String.
     * @return refresh_token - a Google OAuth2 Token 
     */
    public String getRefreshToken() {
    	return refresh_token;
    }
}
